<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>股票基金</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" />
        <link href="../static/assets/css/styles.css" rel="stylesheet" />
        <script src="https://use.fontawesome.com/releases/v6.1.0/js/all.js" crossorigin="anonymous"></script>
</head>
<body>

    <div class="card mb-4">
                            <div class="card-header">
                                <i class="fas fa-table me-1"></i>
                                基金排行
                            </div>
                            <div class="card-body">
                                <table id="datatablesSimple">
                                    <thead>
                                        <tr>
                                            <th>基金代码</th>
                                            <th>基金名称</th>
                                            <th>日期</th>
                                            <th>单位净值</th>
                                            <th>累计净值</th>
                                            <th>日增长率</th>
                                            <th>近一周</th>
                                            <th>近1月</th>
                                            <th>近3月</th>
                                            <th>近6月</th>
                                            <th>近一年</th>
                                             <th>成立时间</th>
                                             <th>手续费</th>
                                        </tr>
                                    </thead>
                                    <tfoot>
                                          <tr>
                                            <th>基金代码</th>
                                            <th>基金名称</th>
                                            <th>日期</th>
                                            <th>单位净值</th>
                                            <th>累计净值</th>
                                            <th>日增长率</th>
                                            <th>近一周</th>
                                            <th>近1月</th>
                                            <th>近3月</th>
                                            <th>近6月</th>
                                            <th>近一年</th>
                                             <th>成立时间</th>
                                             <th>手续费</th>
                                        </tr>
                                    </tfoot>
                                    <tbody>
                                        {% for fund in funds %}
                                           <tr>
                                               <td>{{ fund[0]}}</td>
                                           <td>{{ fund[1]}}</td>
                                           <td>{{ fund[2]}}</td>
                                           <td>{{ fund[3]}}</td>
                                           <td>{{ fund[4]}}</td>
                                           <td>{{ fund[5]}}</td>
                                           <td>{{ fund[6]}}</td>
                                           <td>{{ fund[7]}}</td>
                                           <td>{{ fund[8]}}</td>
                                           <td>{{ fund[9]}}</td>
                                           <td>{{ fund[10]}}</td>
                                           <td>{{ fund[11]}}</td>
                                           <td>{{ fund[12]}}</td>
                                        </tr>
                                       {% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        </div>

       <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
        <script src="../static/assets/js/scripts.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js" crossorigin="anonymous"></script>
        <script src="../static/assets/demo/chart-area-demo.js"></script>
        <script src="../static/assets/demo/chart-bar-demo.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest" crossorigin="anonymous"></script>
        <script src="../static/assets/js/datatables-simple-demo.js"></script>

</body>
</html>